package com.example.zhinongbao.presenter;

import com.example.zhinongbao.Model.IGoodsDetail;
import com.example.zhinongbao.view.ProductDetailsActivity;

public class ProductDetailsPresenter {
    private IGoodsDetail iGoodsDetail;
    public ProductDetailsPresenter(ProductDetailsActivity productDetailsActivity, IGoodsDetail iGoodsDetail){
        this.iGoodsDetail = iGoodsDetail ;
    }
    public void addCart(int goodsId ){
        iGoodsDetail.addCart(goodsId );
    }
}
